package com.atguigu.srb.core.service;

import com.atguigu.srb.core.entity.Lend;
import com.atguigu.srb.core.entity.vo.LendSearchVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 标的准备表 服务类
 * </p>
 *
 * @author Atguigu
 * @since 2023-06-30
 */
public interface LendService extends IService<Lend> {

    //带条件查询标的列表
    List<Lend> getLendLists(LendSearchVo lendSearchVo);

    List<Lend> getLendsList();

    Map<String, Object> getDetailById(Long lendId);

    //放款管理
    void makeLoan(Long lendId);
}
